Document file destination of build scripts.
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>
Mon, 6 Jun 2016 03:57:15 +0000 (00:57 -0300)
committerAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>
Mon, 6 Jun 2016 12:30:51 +0000 (09:30 -0300)
Close #2754

src/doc/build-script.md

index 2839052b15baef41184f9d7f451f8e0b53dd7c30..20272113f441ea520f72109e22eb44f53ec4f879 100644 (file)
@@ -44,10 +44,7 @@ the source directory of the build script’s package.
 
 ## Outputs of the Build Script
 
-All the lines printed to stdout by a build script that start with `cargo:`
-are interpreted by Cargo and must be of the form `key=value`.
-
-Example output:
+All the lines printed to stdout by a build script are written to a file like `target/debug/build/<pkg>/output` (the precise location may depend on your configuration). Any line that starts with `cargo:` is interpreted directly by Cargo. This line must be of the form `cargo:key=value`, like the examples below:
 
 ```notrust
 cargo:rustc-link-lib=static=foo